﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ThanNhanTao.ListTemp
{
    public class ListLoaiYeuCauGroup
    {
        public string MaLoaiYeuCau { get; set; }
        public string TenLoaiYeuCau { get; set; }
        public decimal CongThanhTien { get; set; }
        public string CongThanhTienString {
            get
            {
                if (CongThanhTien == 0)
                    return string.Empty;
                return CongThanhTien.ToString("#,##0");
            }
        }
        public decimal CongQuyBHYT { get; set; }
        public string CongQuyBHYTString {
            get {
                if (CongQuyBHYT == 0)
                    return string.Empty;
                return CongQuyBHYT.ToString("#,##0");
            } 
        }
        public decimal CongKhac { get; set; }
        public string CongKhacString 
        {
            get
            {
                if (CongKhac == 0)
                    return string.Empty;
                return CongKhac.ToString("#,##0");
            }
        }
        public decimal CongNguoiBenh { get; set; }
        public string CongNguoiBenhString 
        {
            get
            {
                if (CongNguoiBenh == 0)
                    return string.Empty;
                return CongNguoiBenh.ToString("#,##0");
            }
        }
        public int SoDongInPhieu { get; set; }
        public int CongSoLuong { get; set; }
    }
}